package com.txts.road.app.event.model.entity;

import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.txts.road.app.common.base.BaseEntity;

/**
 * 赛事公告实体对象
 *
 * @author baoyr
 * @since 2025-07-17 10:47
 */
@Getter
@Setter
@TableName("road_t_event_announcement")
public class EventAnnouncementEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 赛事ID
     */
    private Long eventId;
    /**
     * 公告标题
     */
    private String title;
    /**
     * 公告内容
     */
    private String content;
    /**
     * 是否重要：0-否，1-是
     */
    private Integer isImportant;
    /**
     * 发布时间
     */
    private LocalDateTime publishTime;
    /**
     * 创建时间
     */
    private LocalDateTime createdTime;
    /**
     * 创建人id
     */
    private Long createdBy;
    /**
     * 更新人id
     */
    private Long updateBy;
    /**
     * 0-有效 1-删除
     */
    private Integer state;
}
